<template>
  <w-view>
    <w-html style="padding: 20px 10px;">
      <h4>当前API适配的dfish版本: {{version}}</h4>
       <a href="https://www.npmjs.com/package/dfish-widget" target="_blank"> &gt;&gt;点击查看dfish-widget最新版本信息</a>
    </w-html>
  </w-view>
</template>

<script>
  import $ from 'dfish-widget'
  const dfishPackage = require('dfish-widget/package.json')

  export default {
    data() {
      return {
        version: dfishPackage.version
      }
    },
    methods: {

    },
    mounted() {
      // console.log(process.env)
    }
  }
</script>

<style scoped="scoped">
  a {
    color: #090; 
  }
</style>
